package com.cloudcentral.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * Create by WEI
 * 2021-08-23 01:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@Schema(description = "分页数据")
public class PageVO<T> {
  @Schema(description = "列表记录")
  private List<T> list;
  @Schema(description = "总条数")
  private long total;
}